Spread Windows Forms 17
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread Namespace / SheetView Class / SortColumns Method / SortColumns(Int32,Int32,SortInfo[]) Method
Index of first column to start sorting
Number of columns in range to sort
Array of SortInfo objects with the row indexes and sort order


In This Topic
    SortColumns(Int32,Int32,SortInfo[]) Method
    In This Topic
    Sorts a specified range of columns on the sheet by the specified sort information.
    Syntax
    'Declaration
     
    
    Public Overloads Function SortColumns( _
       ByVal column As Integer, _
       ByVal columnCount As Integer, _
       ByVal sortInfo() As SortInfo _
    ) As Boolean
    'Usage
     
    
    Dim instance As SheetView
    Dim column As Integer
    Dim columnCount As Integer
    Dim sortInfo() As SortInfo
    Dim value As Boolean
     
    value = instance.SortColumns(column, columnCount, sortInfo)
    public bool SortColumns( 
       int column,
       int columnCount,
       SortInfo[] sortInfo
    )

    Parameters

    column
    Index of first column to start sorting
    columnCount
    Number of columns in range to sort
    sortInfo
    Array of SortInfo objects with the row indexes and sort order
    See Also